package com.zjuh.qss.biz.bo;

import java.util.List;
import java.util.Map;

import com.taobao.api.ApiException;
import com.taobao.api.domain.Item;
import com.taobao.api.domain.ItemCat;
import com.taobao.api.domain.TaobaokeItem;
import com.taobao.api.domain.TradeRate;
import com.taobao.api.domain.User;


public interface TaobaoOpenBO {
	
	List<TaobaokeItem> queryTaobaokeItems(List<Long> itemIds) throws ApiException;
	
	TaobaokeItem queryTaobaokeItem(Long itemId) throws ApiException;

	Item getTaobaoItem(Long itemId) throws ApiException;
	
	List<ItemCat> getItemCatsByParentId(long parentCid) throws ApiException;
	
	List<Item> searchItems(long cid, long page) throws ApiException;
	
	List<Item> searchItems(long cid, String q, long page) throws ApiException;
	
	//SearchResult<TradeRate> searchTraderates(long itemId, String sellerNick, long page) throws ApiException;
	
	Map<String, User> getUserByNicks(List<String> nicks) throws ApiException;
}
